export namespace DictionariesInterface {
  /**
   * 新增数据字典
   */
  export interface ReqSave {
    id?: number;
    label: string;
    code: string;
    value: string;
    sort: number;
    pid: number;
    editRoleId: string;
    type: 0 | 1;
    remark: string;
  }
  /**根据code查询对应数据 */
  export interface ReqFindByCode {
    pidCode: string;
    /**角色查询是否需要按照角色自有权限进行查询 */
    isRole: boolean;
  }

  /**查询字典参数 */
  export interface ReqList {
    label: string;
    code: string;
  }

  /**查询字典 */
  export interface ResList {
    sort: number;
    children: ResList[];
    id: number;
    pid: number;
    label: string;
    value: string;
    status: number;
    code: string;
    editRoleId: string;
    type: number;
    createdTime: string;
    updateTime: string;
    remark: string;
    hasChildren: boolean;
  }
}
